Options
All
  • Public
  • Public/Protected
  • All
Menu

External module "utils"

Index

Variables

Const OPRINT_API_URL

OPRINT_API_URL: "https://api.onprint.com" = "https://api.onprint.com"

Functions

createEndContent

  • createEndContent(boundary: string): string
  • Parameters

    • boundary: string

    Returns string

createFileContent

  • createFileContent(fileName: string, atachName: string, fileType: string, boundary: string): string
  • Parameters

    • fileName: string
    • atachName: string
    • fileType: string
    • boundary: string

    Returns string

createFormContent

  • createFormContent(object: object, objName: string, boundary: string): string
  • Parameters

    • object: object
    • objName: string
    • boundary: string

    Returns string

getBoundary

  • getBoundary(): string
  • Returns string

Const validateStatus

  • validateStatus(status: number): boolean
  • Parameters

    • status: number

    Returns boolean

Generated using TypeDoc